package com.jiliason.segmentation.exception;

import com.jiliason.segmentation.constant.enums.Err;
import lombok.Getter;

import java.io.Serial;

@Getter
public class ACSysException extends Exception {
    @Serial
    private static final long serialVersionUID = 5535641616772078379L;

    private final Err errorTag;

    public ACSysException(String message, Err errorTag) {
        super(message);
        this.errorTag = errorTag;
    }
}
